/*
 * TProduct.java
 * Copyright(C) 2010-2017 jarparts
 * All rights reserved.
 * -----------------------------------------------
 * 2019-02-13 Created
 */
package com.hxt.xt.model;

import java.io.Serializable;
import java.math.BigDecimal;

import com.hxt.util.StringUtil;

/**
 * 
 * @author
 * @version 1.0 2019-02-13
 */
public class TProduct implements Serializable {

	/**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Long id;

	public TProduct() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * 产品名称
	 */
	private String name;

	/**
	 * 注册证号
	 */
	private String regnum;

	/**
	 * 许可证号
	 */
	private String licnum;

	/**
	 * 尺寸
	 */
	private String cc;

	/**
	 * 批序号
	 */
	private String batchnum;

	/**
	 * 规则名称
	 */
	private String model;

	/**
	 * 进货价（单价）
	 */
	private BigDecimal buyprice;

	/**
	 * 进购数量
	 */
	private Integer buynum;

	/**
	 * 总价
	 */
	private BigDecimal totalprice;

	/**
	 * 生产企业
	 */
	private String scqy;

	/**
	 * 上游供货单位
	 */
	private String syghdw;

	/**
	 * 生产日期
	 */
	private String scrq;

	/**
	 * 有效期
	 */
	private String yxq;

	/**
	 * 储运条件
	 */
	private String cytj;

	/**
	 * 单位
	 */
	private String dw;

	/**
	 * 生成的uuid
	 */
	private String puuid;

	/**
	 * 创建时间
	 */
	private Integer create_time;

	private Integer curTime;

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	private String did;

	private String dname;

	public Integer getCurTime() {
		return curTime;
	}

	public void setCurTime(Integer curTime) {
		this.curTime = curTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRegnum() {
		return regnum;
	}

	public void setRegnum(String regnum) {
		this.regnum = regnum;
	}

	public String getLicnum() {
		return licnum;
	}

	public void setLicnum(String licnum) {
		this.licnum = licnum;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getBatchnum() {
		return batchnum;
	}

	public void setBatchnum(String batchnum) {
		this.batchnum = batchnum;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public BigDecimal getBuyprice() {
		return buyprice;
	}

	public void setBuyprice(BigDecimal buyprice) {
		this.buyprice = buyprice;
	}

	public Integer getBuynum() {
		return buynum;
	}

	public void setBuynum(Integer buynum) {
		this.buynum = buynum;
	}

	public BigDecimal getTotalprice() {
		return totalprice;
	}

	public void setTotalprice(BigDecimal totalprice) {
		this.totalprice = totalprice;
	}

	public String getScqy() {
		return scqy;
	}

	public void setScqy(String scqy) {
		this.scqy = scqy;
	}

	public String getSyghdw() {
		return syghdw;
	}

	public void setSyghdw(String syghdw) {
		this.syghdw = syghdw;
	}

	public String getScrq() {
		return scrq;
	}

	public void setScrq(String scrq) {
		this.scrq = scrq;
	}

	public String getYxq() {
		return yxq;
	}

	public void setYxq(String yxq) {
		this.yxq = yxq;
	}

	public String getCytj() {
		return cytj;
	}

	public void setCytj(String cytj) {
		this.cytj = cytj;
	}

	public String getDw() {
		return dw;
	}

	public void setDw(String dw) {
		this.dw = dw;
	}

	public String getPuuid() {
		return puuid;
	}

	public void setPuuid(String puuid) {
		this.puuid = puuid;
	}

	public Integer getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Integer create_time) {
		this.create_time = create_time;
	}

	public TProduct(String name, String regnum, String licnum, String cc, String batchnum, String model,
			BigDecimal buyprice, Integer buynum, BigDecimal totalprice, String scqy, String syghdw, String scrq,
			String yxq, String cytj, String dw, String puuid, Integer create_time) {
		super();
		this.name = name;
		this.regnum = regnum;
		this.licnum = licnum;
		this.cc = cc;
		this.batchnum = batchnum;
		this.model = model;
		this.buyprice = buyprice;
		this.buynum = buynum;
		this.totalprice = totalprice;
		this.scqy = scqy;
		this.syghdw = syghdw;
		this.scrq = scrq;
		this.yxq = yxq;
		this.cytj = cytj;
		this.dw = dw;
		this.puuid = puuid;
		this.create_time = create_time;
	}

	@Override
	public String toString() {
		return "TProduct [name=" + name + ", regnum=" + regnum + ", licnum=" + licnum + ", cc=" + cc + ", batchnum="
				+ batchnum + ", model=" + model + ", buyprice=" + buyprice + ", buynum=" + buynum + ", totalprice="
				+ totalprice + ", scqy=" + scqy + ", syghdw=" + syghdw + ", scrq=" + scrq + ", yxq=" + yxq + ", cytj="
				+ cytj + ", dw=" + dw + ", puuid=" + puuid + "]";
	}
}